package chixing.day05;

import javax.sound.midi.Soundbank;

//初始化Dish对象的时候，必须执行所属店铺Shop对象。创建2个菜品对象
public class DishTest {
    public static void main(String[] args) {
        Shop shop1 = new Shop(1,"包子","苏州",4.7f);
        Dish dish1 = new Dish(shop1,101,"农家炒肉","炒菜");
        Dish dish2 = new Dish(shop1,102,"番茄炒蛋","炒菜");


        System.out.println(dish1);
        System.out.println(dish2);
    }


}
